package xyz.bali16.module.nav.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import xyz.bali16.module.nav.entity.Nav;
import xyz.bali16.module.nav.model.NavAddParam;
import xyz.bali16.module.nav.model.NavPageParam;
import xyz.bali16.module.nav.model.NavUpdateParam;

/**
 * @author bali2 on 9/3/2023.
 * @version 1.0
 */
public interface NavService extends IService<Nav> {

    IPage<Nav> getPage(NavPageParam param);

    void addNav(NavAddParam param) throws Exception;

    void updateNav(NavUpdateParam param) throws Exception;

    void updateStatus(String navId, Integer status) throws Exception;

    void delete(String navId) throws Exception;


}
